package com.xmall.product.define.dict;

import com.xmall.annotation.Dict;

/**
 * 上架状态
 */
@Dict
public enum UpStatusEnum {

    DOWN("下架", 0), UP("上架", 1);

    private String name;

    private Integer status;

    UpStatusEnum(String name, Integer status) {
        this.name = name;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }
}
